package com.taobao.pamirs.schedule.conf;

import org.springframework.boot.context.properties.ConfigurationProperties;

import lombok.Data;
import lombok.NoArgsConstructor;

@ConfigurationProperties(prefix = "tbschedule", ignoreUnknownFields = false, ignoreInvalidFields = false)
@Data
@NoArgsConstructor
public class TBScheduleProperties {
	public static String PROP_ZK_CONNECT_STRING = "zkConnectString";
	public static String PROP_ROOT_PATH = "rootPath";
	public static String PROP_ZK_SESSION_TIMEOUT = "zkSessionTimeout";
	public static String PROP_USERNAME = "username";
	public static String PROP_PASSWORD = "password";
	public static String PROP_IS_CHECK_PARENT_PATH = "isCheckParentPath";

	private Boolean enabled;
	private String zkConnectString;
	private String rootPath;
	private String zkSessionTimeout;
	private String username;
	private String password;
	private String isCheckParentPath;

}
